export default [
    // 登录
    {path: '/Admin/login', name: 'admin_login', component: () => import('@/views/Admin/login')},

    // 后台界面
    {
        path: "/Admin/index", name: "admin_index", component: () => import("@/views/Admin/index"), children: [

            {path: "/Admin/index", name: "admin_default", component: () => import("@/views/Admin/default")}, // 打开默认页面

            // 用户管理
            {path: "/Admin/users", name: "admin_users", component: () => import("@/views/Admin/users/index")},
            {
                path: "/Admin/users/form/:id?",
                name: "admin_users_form",
                component: () => import("@/views/Admin/users/form")
            },

            // 后台管理员
            {path: "/Admin/admins", name: "admin_admins", component: () => import("@/views/Admin/admins/index")},
            {
                path: "/Admin/admins/form/:id?",
                name: "admin_admins_form",
                component: () => import("@/views/Admin/admins/form")
            },

            // 菜单管理
            {path: "/Admin/menus", name: "admin_menus", component: () => import("@/views/Admin/menus/index")},
            {
                path: "/Admin/menus/form/:id?",
                name: "admin_menus_form",
                component: () => import("@/views/Admin/menus/form")
            },

            // 接口分组
            {
                path: "/Admin/permission_groups",
                name: "admin_permission_groups",
                component: () => import("@/views/Admin/permission_groups/index")
            },
            {
                path: "/Admin/permission_groups/form/:id?",
                name: "admin_permission_groups_form",
                component: () => import("@/views/Admin/permission_groups/form")
            },

            // 接口管理
            {
                path: "/Admin/permissions",
                name: "admin_permissions",
                component: () => import("@/views/Admin/permissions/index")
            },
            {
                path: "/Admin/permissions/form/:id?",
                name: "admin_permissions_form",
                component: () => import("@/views/Admin/permissions/form")
            },

            // 角色管理
            {path: "/Admin/roles", name: "admin_roles", component: () => import("@/views/Admin/roles/index")},
            {
                path: "/Admin/roles/form/:id?",
                name: "admin_roles_form",
                component: () => import("@/views/Admin/roles/form")
            },

            // 配置中心
            {
                path: "/Admin/configs/web",
                name: "admin_configs_web",
                component: () => import("@/views/Admin/configs/web/index")
            }, // 网站配置
            {
                path: "/Admin/configs/withdrawal",
                name: "admin_configs_withdrawal",
                component: () => import("@/views/Admin/configs/withdrawal")
            }, // 邻里圈提现配置
            {
                path: "/Admin/configs/pay",
                name: "admin_configs_pay",
                component: () => import("@/views/Admin/configs/pay/index")
            }, // 支付配置
            {
                path: "/Admin/configs/upload",
                name: "admin_configs_upload",
                component: () => import("@/views/Admin/configs/oss/alioss")
            }, // 上传配置
            {
                path: "/Admin/configs/kuaibao",
                name: "admin_configs_kuaibao",
                component: () => import("@/views/Admin/configs/kuaibao/index")
            }, // 快宝物流查询
            {
                path: "/Admin/configs/sms",
                name: "admin_configs_sms",
                component: () => import("@/views/Admin/configs/sms/index")
            }, // 短信配置
            {
                path: "/Admin/sms_logs/index",
                name: "admin_sms_logs_index",
                component: () => import("@/views/Admin/configs/sms/sms_log")
            }, // 短信日志
            {
                path: "/Admin/sms_signs/index",
                name: "admin_sms_signs_index",
                component: () => import("@/views/Admin/configs/sms/sign/index")
            }, // 短信签名列表
            {
                path: "/Admin/sms_signs/form/:id?",
                name: "admin_sms_signs_form",
                component: () => import("@/views/Admin/configs/sms/sign/form")
            }, // 短信签名编辑
            {
                path: "/Admin/configs/task",
                name: "admin_configs_task",
                component: () => import("@/views/Admin/configs/task/index")
            }, // 自动任务配置
            {
                path: "/Admin/configs/oauth",
                name: "admin_configs_oauth",
                component: () => import("@/views/Admin/configs/oauth/index")
            }, // OAuth 第三方登录
            // mqtt配置
            {
                path: "/Admin/configs/mqtt",
                name: "admin_configs_mqtt",
                component: () => import("@/views/Admin/configs/mqtt/index")
            }, // 网站配置
            // 站点协议
            {
                path: "/Admin/agreements",
                name: "admin_agreements_index",
                component: () => import("@/views/Admin/agreements/index")
            }, // 站点协议列表
            {
                path: "/Admin/agreements/form/:id?",
                name: "admin_agreements_form",
                component: () => import("@/views/Admin/agreements/form")
            }, // 站点协议编辑

            // 文章 帮助中心
            {
                path: "/Admin/articles",
                name: "admin_articles_index",
                component: () => import("@/views/Admin/articles/index")
            }, // 帮助中心列表
            {
                path: "/Admin/articles/form/:id?",
                name: "admin_articles_form",
                component: () => import("@/views/Admin/articles/form")
            }, // 帮助中心编辑

            // 物流公司
            {
                path: "/Admin/expresses",
                name: "admin_expresses_index",
                component: () => import("@/views/Admin/expresses/index")
            }, // 物流公司列表
            {
                path: "/Admin/expresses/form/:id?",
                name: "admin_aexpresses_form",
                component: () => import("@/views/Admin/expresses/form")
            }, // 物流公司编辑


            // 积分设置
            {
                path: "/Admin/integral_set",
                name: "admin_integral_set",
                component: () => import("@/views/Admin/integral_set/index")
            },
            {
                path: "/Admin/integral_log",
                name: "admin_integral_log",
                component: () => import("@/views/Admin/integral_log/index")
            },
            {
                path: "/Admin/integral_log/:set_id?",
                name: "estate_integral_log_set",
                component: () => import("@/views/Admin/integral_log/index")
            },
            {
                path: "/Admin/integral_set/form/:id?",
                name: "estate_integral_set_form",
                component: () => import("@/views/Admin/integral_set/form")
            },

            // 积分商城 商品分类
            {
                path: "/Admin/integral_goods_classes",
                name: "admin_integral_goods_classes",
                component: () => import("@/views/Admin/integral_goods_classes/index")
            },
            {
                path: "/Admin/integral_goods_classes/form/:id?",
                name: "admin_integral_goods_classes_form",
                component: () => import("@/views/Admin/integral_goods_classes/form")
            },
            // 积分商城 商品
            {
                path: "/Admin/integral_goods",
                name: "admin_integral_goods",
                component: () => import("@/views/Admin/integral_goods/index")
            },
            {
                path: "/Admin/integral_goods/form/:id?",
                name: "admin_integral_goods_form",
                component: () => import("@/views/Admin/integral_goods/form")
            },

            // 商品分类
            {
                path: "/Admin/goods_classes",
                name: "admin_goods_classes",
                component: () => import("@/views/Admin/goods_classes/index")
            },
            {
                path: "/Admin/goods_classes/form/:id?",
                name: "admin_goods_classes_form",
                component: () => import("@/views/Admin/goods_classes/form")
            },

            // 全国地址管理
            {path: "/Admin/areas", name: "admin_areas", component: () => import("@/views/Admin/areas/index")},
            {
                path: "/Admin/areas/form/:id?",
                name: "admin_areas_form",
                component: () => import("@/views/Admin/areas/form")
            },

            // 商品品牌
            {
                path: "/Admin/goods_brands",
                name: "admin_goods_brands",
                component: () => import("@/views/Admin/goods_brands/index")
            },
            {
                path: "/Admin/goods_brands/form/:id?",
                name: "admin_goods_brands_form",
                component: () => import("@/views/Admin/goods_brands/form")
            },

            // 店铺管理
            {
                path: "/Admin/stores",
                name: "admin_stores",
                component: () => import("@/views/Admin/stores/index")
            },
            {
                path: "/Admin/stores/form/:id?",
                name: "admin_stores_form",
                component: () => import("@/views/Admin/stores/form")
            },
            // 店铺分类
            {
                path: "/Admin/stores_cate",
                name: "admin_stores_cate",
                component: () => import("@/views/Admin/stores_cate/index")
            },
            // 店铺添加
            {
                path: "/Admin/stores_cate/form/:id?",
                name: "admin_stores_cate_form",
                component: () => import("@/views/Admin/stores_cate/form")
            },

            // 商品管理
            {path: "/Admin/goods", name: "admin_goods", component: () => import("@/views/Admin/goods/index")},
            {
                path: "/Admin/goods/form/:id?",
                name: "admin_goods_form",
                component: () => import("@/views/Admin/goods/form")
            },

            // 广告位管理
            {
                path: "/Admin/adv_positions",
                name: "admin_adv_positions",
                component: () => import("@/views/Admin/adv_positions/index")
            },
            {
                path: "/Admin/adv_positions/form/:id?",
                name: "admin_adv_positions_form",
                component: () => import("@/views/Admin/adv_positions/form")
            },

            // 广告管理
            {path: "/Admin/advs", name: "admin_advs", component: () => import("@/views/Admin/advs/index")},
            {
                path: "/Admin/advs/form/:id?",
                name: "admin_advs_form",
                component: () => import("@/views/Admin/advs/form")
            },


            // 公告管理
            {
                path: "/Admin/announcement/index",
                name: "admin_announcement_index",
                component: () => import("@/views/Admin/announcement/index")
            },
            {
                path: "/Admin/announcement/form/:id?",
                name: "admin_announcement_form",
                component: () => import("@/views/Admin/announcement/form")
            },


            // 订单管理
            {path: "/Admin/orders", name: "admin_orders", component: () => import("@/views/Admin/orders/index")},
            {
                path: "/Admin/orders/form/:id?",
                name: "admin_orders_form",
                component: () => import("@/views/Admin/orders/form")
            },

            // 订单管理
            {
                path: "/Admin/integral_orders",
                name: "admin_integral_orders",
                component: () => import("@/views/Admin/integral_orders/index")
            },
            {
                path: "/Admin/integral_orders/form/:id?",
                name: "admin_integral_orders_form",
                component: () => import("@/views/Admin/integral_orders/form")
            },

            // 订单评论
            {
                path: "/Admin/order_comments",
                name: "admin_order_comments",
                component: () => import("@/views/Admin/order_comments/index")
            },
            {
                path: "/Admin/order_comments/form/:id?",
                name: "admin_order_comments_form",
                component: () => import("@/views/Admin/order_comments/form")
            },

            // 分销日志
            {
                path: "/Admin/distribution_logs",
                name: "admin_distribution_logs",
                component: () => import("@/views/Admin/distribution_logs/index")
            },

            // 结算日志
            {
                path: "/Admin/order_settlements",
                name: "admin_order_settlements",
                component: () => import("@/views/Admin/order_settlements/index")
            },
            {
                path: "/Admin/order_settlements/form/:id",
                name: "admin_order_settlements_form",
                component: () => import("@/views/Admin/order_settlements/form")
            },

            // 资金日志
            {
                path: "/Admin/money_logs",
                name: "admin_money_logs",
                component: () => import("@/views/Admin/money_logs/index")
            },

            // 资金提现
            {path: "/Admin/cashes", name: "admin_cashes", component: () => import("@/views/Admin/cashes/index")},

            // 数据统计
            {
                path: "/Admin/statistics/user",
                name: "admin_statistics_user",
                component: () => import("@/views/Admin/statistics/user")
            },
            {
                path: "/Admin/statistics/store",
                name: "admin_statistics_store",
                component: () => import("@/views/Admin/statistics/store")
            },
            {
                path: "/Admin/statistics/order",
                name: "admin_statistics_order",
                component: () => import("@/views/Admin/statistics/order")
            },
            {
                path: "/Admin/statistics/pay",
                name: "admin_statistics_pay",
                component: () => import("@/views/Admin/statistics/pay")
            },


            // 小区管理
            {
                path: "/Admin/community/lists",
                name: "admin_community_lists",
                component: () => import("@/views/Admin/community/lists")
            },
            {
                path: "/Admin/community/form",
                name: "admin_community_form",
                component: () => import("@/views/Admin/community/form")
            },
            {
                path: "/Admin/community/form/:id",
                name: "admin_community_form",
                component: () => import("@/views/Admin/community/form")
            },

            // 物业管理
            {
                path: "/Admin/property/index",
                name: "admin_property_index",
                component: () => import("@/views/Admin/property/index")
            },
            {
                path: "/Admin/property/check",
                name: "admin_property_check",
                component: () => import("@/views/Admin/property/check")
            },
            {
                path: "/Admin/property/details/:id",
                name: "admin_property_details",
                component: () => import("@/views/Admin/property/details")
            },
            {
                path: "/Admin/property/form/:id",
                name: "admin_property_form",
                component: () => import("@/views/Admin/property/form")
            },
            // 邻里圈管理
            {
                path: "/Admin/label/index",
                name: "admin_label_index",
                component: () => import("@/views/Admin/label/index")
            },
            {
                path: "/Admin/label/form",
                name: "admin_label_form",
                component: () => import("@/views/Admin/label/form")
            },
            {
                path: "/Admin/label/form/:id",
                name: "admin_label_form",
                component: () => import("@/views/Admin/label/form")
            },
            //邻里圈说说管理
            {
                path: "/Admin/circle/index",
                name: "admin_circle_index",
                component: () => import("@/views/Admin/circle/index")
            },
            {
                path: "/Admin/circle/form/:id",
                name: "admin_circle_form",
                component: () => import("@/views/Admin/circle/form")
            },
            //房屋规格管理
            {
                path: "/Admin/house/option/index",
                name: "admin_house_option_index",
                component: () => import("@/views/Admin/house/option/index")
            },
            {
                path: "/Admin/house/option/form",
                name: "admin_house_option_form",
                component: () => import("@/views/Admin/house/option/form")
            },
            {
                path: "/Admin/house/option/form/:id",
                name: "admin_house_option_form",
                component: () => import("@/views/Admin/house/option/form")
            },
            //出租房源管理
            {
                path: "/Admin/house/lease/index",
                name: "admin_house_lease_index",
                component: () => import("@/views/Admin/house/lease/index")
            },
            {
                path: "/Admin/house/lease/form/:id",
                name: "admin_house_lease_form",
                component: () => import("@/views/Admin/house/lease/form")
            },
            //出售房源管理
            {
                path: "/Admin/house/sell/index",
                name: "admin_house_sell_index",
                component: () => import("@/views/Admin/house/sell/index")
            },
            {
                path: "/Admin/house/sell/form/:id",
                name: "admin_house_sell_form",
                component: () => import("@/views/Admin/house/sell/form")
            },
            // 导航
            {
                path: "/Admin/nav",
                name: "nav",
                component: () => import("@/views/Admin/nav/index")
            },
            {
                path: "/Admin/nav/form/:id?",
                name: "nav_form",
                component: () => import("@/views/Admin/nav/form")
            },

            // 类目
            {
                path: "/Admin/category",
                name: "category",
                component: () => import("@/views/Admin/category/index")
            },
            {
                path: "/Admin/category/form/:id?",
                name: "category_form",
                component: () => import("@/views/Admin/category/form")
            },

            // 反馈管理
            // 分类
            {
                path: "/Admin/feedback_cate",
                name: "feedback_cate",
                component: () => import("@/views/Admin/feedback_cate/index")
            },
            {
                path: "/Admin/feedback_cate/form/:id?",
                name: "feedback_cate_form",
                component: () => import("@/views/Admin/feedback_cate/form")
            },
            // 列表
            {
                path: "/Admin/feedback_info",
                name: "feedback_info",
                component: () =>
                    import("@/views/Admin/feedback_info/lists.vue")
            },
            {
                path: "/Admin/feedback_info/form/:id?",
                name: "feedback_info_form",
                component: () => import("@/views/Admin/feedback_info/form")
            },
            // 跳蚤市场轮播图管理
            {
                path: "/Admin/flea_banner",
                name: "flea_banner",
                component: () => import("@/views/Admin/flea_banner/index")
            },
            {
                path: "/Admin/flea_banner/form/:id?",
                name: "flea_banner_form",
                component: () => import("@/views/Admin/flea_banner/form")
            },
            // 订单列表
            {
                path: "/Admin/flea_order",
                name: "flea_order",
                component: () => import("@/views/Admin/flea_order/index")
            },
            {
                path: "/Admin/flea_order/form/:id?", //查看详情
                name: "flea_order",
                component: () => import("@/views/Admin/flea_order/form")
            },
            // 提现列表
            {
                path: "/Admin/flea_withdrawal",
                name: "flea_withdrawal",
                component: () => import("@/views/Admin/flea_withdrawal/index")
            },
            {
                path: "/Admin/flea_withdrawal/form/:id?", //查看详情
                name: "flea_withdrawal",
                component: () => import("@/views/Admin/flea_withdrawal/form")
            },
            // 闲置商品列表
            {
                path: "/Admin/flea_goods",
                name: "flea_goods",
                component: () => import("@/views/Admin/flea_goods/index")
            },
            {
                path: "/Admin/flea_goods/form/:id?", //查看
                name: "flea_goods",
                component: () => import("@/views/Admin/flea_goods/form")
            },
        ]
    },
];
